@import "@/style/var.less";

.blank-test {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  .list-wrap {
    position: relative;
    display: flex;
    height: calc(100vh - 80px);
    justify-content: center;
    color: #333;
    text-align: left;
    font-size: 20px;
    // .content-wrap {
    //   overflow: auto;
    //   height: calc(100vh - 80px);
    //   display: flex;
    //   justify-content: center;
    //   padding: 30px 0;
    // }
  }

  .chose-course-top {
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: relative;
    align-items: center;
    height: 80px;
    padding: 0 40px;
    background-color: #fff;
    .anticon {
      font-size: 24px; /* no */
    }

    .header-left {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      .back-arrow {
        width: 30px;
        height: 27px;
        background-image: url("~assets/home/btn_back.png");
        background-size: 100%;
        cursor: pointer;
      }
    }

    .course-title {
      width: 100%;
      font-size: 20px;
      flex: 1;
      font-weight: 700;
    }
    .btn-group {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      .spend-time {
        display: flex;
        align-items: center;
        & > img {
          width: 20px; /* no */
          margin-right: 16px;
          vertical-align: top;
        }
        & > span {
          margin-right: 40px;
          vertical-align: middle;
        }
      }
      & > a {
        display: inline-block;
        margin-left: 40px;
      }
    }
  }
  @media screen and (max-width: 1200px) {
    .chose-course-top {
      justify-content: space-between;

      .btn-group {
        position: static;
      }
      .header-left {
        position: static;
      }
    }
  }
  .article-content {
    overflow: auto;
    height: calc(100vh - 150px);
    margin-top: 30px;
    padding: 50px;
    background-color: #fff;
    border-radius: 10px; /* no */
    .article-paragraph {
      text-indent: 20px;
    }
    .check-word {
      font-size: 20px;
      padding: 0 4px;
    }
    .blank {
      display: inline-block;
      font-size: 20px;
      min-width: 60px; /* no */
      font-weight: 700;
      text-indent: 0;
      text-align: center;
      border-bottom: 1px solid #cecece;
      cursor: pointer;
      .blank-num {
        padding-right: 6px;
      }
    }
    .pop-content-word {
      display: inline-block;
      text-indent: 0em;
      padding: 0 2px;
      font-size: 20px;
    }
  }
  .article-blank {
    height: calc(100vh - 150px);
    margin-top: 30px;
    margin-left: 20px;
    background-color: #fff;
    border-radius: 10px; /* no */
    padding: 40px 60px;
    overflow: auto;
    font-size: 20px;
    & > p {
      font-weight: 700;
      text-align: center;
    }

    .answer-wrap {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      font-size: 20px;
    }
    .answer-input {
      display: flex;
      width: 130px;
      margin: 20px 6px;
      &.active {
        color: #FF9D00;
      }
      & > span {
        font-weight: 700;
      }
      & > input {
        display: inline-block;
        width: 100%;
        border-bottom: 1px solid #cecece;
      }
    }
    .answer-input__blank {
      width: 130px;
      margin: 0 6px;
    }
    .submit-wrap {
      text-align: center;
      width: 160px;
      margin: 60px auto 0;
      .submit-btn {
        font-size: 20px;
        font-weight: 700;
      }
    }
  }
}
